home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / SOM / OpenDoc and SOM / IDL / LinkSrc.idl < prev    next >
Encoding:
Text File  |  1994-04-19  |  2.0 KB  |  92 lines  |  [TEXT/MPS ]

  1. //# Copyright:    © 1993-94 by Apple Computer, Inc., all rights reserved.
  2. #ifndef _LINKSRC_
  3. #define _LINKSRC_
  4.  
  5. #ifndef _LINKSRCB_
  6. #include "LinkSrcB.idl"
  7. #endif
  8.  
  9. //==============================================================================
  10. // Theory of Operation
  11. //==============================================================================
  12.  
  13. /*
  14.   This class is used to represent the source side of OpenDoc links. ODDrafts
  15.   create and own these links. The source ODPart will ask the draft to create
  16.   an ODLinkSource and an ODLink pair, and return the ODLink object to the
  17.   the destination part.  The destination part uses the ODLink object to
  18.   extract the contents of the link.
  19. */
  20.  
  21. //==============================================================================
  22. // Classes defined in this interface
  23. //==============================================================================
  24.  
  25. interface  ODLinkSource;
  26.  
  27. //==============================================================================
  28. // Classes used by this interface
  29. //==============================================================================
  30.  
  31. interface ODStorageUnit;
  32. interface ODPart;
  33. interface ODPartList;
  34. interface ODLink;
  35. interface ODDraft;
  36.  
  37.  
  38. //==============================================================================
  39. // ODLinkSource
  40. //==============================================================================
  41.  
  42. #ifdef _PLATFORM_MACINTOSH_
  43.  
  44. interface ODLinkSource :  ODBaseLinkSource
  45. {
  46.  
  47.  
  48.  
  49. #ifdef __SOMIDL__
  50.     implementation
  51.     {
  52.     override:
  53.         somInit,
  54.         somUninit,
  55.         Purge,
  56.         Externalize,
  57.         ReleaseAll,
  58.  
  59.         Lock,    
  60.         Unlock,
  61.         GetContentStorageUnit,
  62.         ContentChanged,
  63.         Clear,
  64.         GetChangeID,
  65.         SetAutoUpdate,
  66.         IsAutoUpdate,
  67.         GetLink,
  68.         SetSourcePart,
  69.         ShowSourceContent,
  70.         GetChangeTime,
  71.         CloneTo;
  72.         
  73.     releaseorder:
  74.             reserved1,
  75.             reserved2,
  76.             reserved3,
  77.             reserved4,
  78.             reserved5,
  79.             reserved6,
  80.             reserved7;
  81.  
  82.     majorversion = 1; minorversion = 0;
  83.         
  84.     
  85.     };
  86. #endif //# __SOMIDL_
  87. };
  88.  
  89. #endif //# _PLATFORM_MACINTOSH_
  90.  
  91. #endif // _LINKSRC_
  92.